
#import <UIKit/UIKit.h>

@class RZTabBar,SPVerticalLayoutBtn;
@protocol RZTabBarDelegate <NSObject>

@optional
- (void)tabBar:(RZTabBar *)tabBar didSelectedButtonFrom:(NSInteger)from to:(NSInteger)to;

@end


@interface RZTabBar : UIView

/**用来装通过Item添加的tabBarButton */
@property (nonatomic,strong) NSMutableArray *tabBarButtons;
@property (nonatomic,strong) id<RZTabBarDelegate> delegate;


- (void)addTabBarButtonWithItem:(UITabBarItem *)item;
- (void)clickButton:(SPVerticalLayoutBtn *)button;

@end
